package com.hoshiicloud.saleorder.dto;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 订单商品列表dto
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class OrderGoodsDTO  implements Serializable {

    private static final long serialVersionUID = -1L;

    /**
     * 子单编号
     */
    @ApiModelProperty(name = "id", value = "子单编号", dataType = "java.lang.Long")
    private Long id;

    /**
     * 支付单号
     */
    @ApiModelProperty(name = "paybillNo", value = "支付单号", dataType = "java.lang.Long")
    private Long paybillNo;
    /**
     * 商品名称
     */
    @ApiModelProperty(name = "goodsName", value = "商品名称", dataType = "java.lang.String")
    private String goodsName;
    /**
     * 规格名称
     */
    @ApiModelProperty(name = "specName", value = "规格名称", dataType = "java.lang.String")
    private String specName;
    /**
     * 商品价格
     */
    @ApiModelProperty(name = "goodsPrice", value = "商品价格", dataType = "java.lang.Double")
    private BigDecimal goodsPrice;
    /**
     * 商品数量
     */
    @ApiModelProperty(name = "goodsCount", value = "商品数量", dataType = "java.lang.Integer")
    private Integer goodsCount;
    /**
     * 商品主图
     */
    @ApiModelProperty(name = "goodsImage", value = "商品主图", dataType = "java.lang.String")
    private String goodsImage;
    /**
     * 商品订单状态
     */
    @ApiModelProperty(name = "orderStatus", value = "商品订单状态", dataType = "java.lang.Integer")
    private Integer orderStatus;
    /**
     * 商品订单状态名
     */
    @ApiModelProperty(name = "orderCnStatus", value = "商品订单状态名", dataType = "java.lang.String")
    private String orderCnStatus;
    /**
     * 物流状态
     */
    @ApiModelProperty(name = "shippingStatus", value = "0，待发货（待配送）；1，已发货(配送中)  2，已收货 ;3 待核销(待自提)；4 已核销(已自提)", dataType = "java.lang.Integer")
    private Integer shippingStatus;

    /**
     * 支付状态
     */
    @ApiModelProperty(name = "payStatus", value = "0-待付款 1-已付款 2-已退款", dataType = "java.lang.Integer")
    private Integer payStatus;
    /**
     * 商品售后状态
     */
    @ApiModelProperty(name = "serviceStatus", value = "商品售后状态", dataType = "java.lang.Integer")
    private Integer serviceStatus;
    /**
     * 商品售后状态名
     */
    @ApiModelProperty(name = "serviceCnStatus", value = "商品售后状态名", dataType = "java.lang.String")
    private String serviceCnStatus;

    /**
     * 收货间隔时间，以天为单位
     */
    @ApiModelProperty(name = "receiptInterval", value = "收货间隔时间", dataType = "java.lang.Integer")
    private Integer receiptInterval;

    /**
     * 提货日期
     */
    @ApiModelProperty(name = "receiptInterval", value = "提货日期", dataType = "java.time.LocalDateTime")
    private LocalDateTime receiptDate;

    /**
     * 每天截单时间
     */
    @ApiModelProperty(name = "endTime", value = "每天截单时间", dataType = "java.lang.String")
    private String endTime;
}
